#!/usr/local/bin/python
# -*- coding: utf-8 -*-
from django.contrib import admin
from models import *

class MailTemplateAdmin(admin.ModelAdmin):
    list_display = ('name', 'subject')
admin.site.register(MailTemplate, MailTemplateAdmin)

class FlagAdmin(admin.ModelAdmin):
    list_display = ('date', 'user', 'name')
admin.site.register(Flag, FlagAdmin)

class ProfileAdmin(admin.ModelAdmin):
    list_display = ('name', 'user', 'do_notif')
admin.site.register(Profile, ProfileAdmin)
